package jpa.daos;

import java.util.List;

import jpa.entities.User;

public interface UserDao {	
	Long insertUser(User user);
	List<User> findAllUsers();
	void delete(User user);
	User findById(Long id);	
	User findByUsername(String uname);
	
	User userExists(User user);
	boolean usernameExists(String username);
	public Long getIdByUsername(String username);
	public User getUserByUsername(String username);
	public User findUser(User user);

}
